home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 May: Tool Chest / Dev.CD May 97 TC.toast / Sample Code / Overview / Sample / ASample.make < prev    next >
Encoding:
Text File  |  1994-11-18  |  2.6 KB  |  83 lines  |  [TEXT/MPS ]

  1. #
  2. #    Apple Macintosh Developer Technical Support
  3. #
  4. #    MultiFinder-Aware Simple Sample Application
  5. #
  6. #    Sample
  7. #
  8. #    ASample.make    -    Make Source
  9. #
  10. #    Copyright © 1989 Apple Computer, Inc.
  11. #    All rights reserved.
  12. #
  13. #    Versions:    
  14. #                1.00                08/88
  15. #                1.01                11/88
  16. #                1.02                04/89
  17. #                1.03                06/89
  18. #                1.04                06/92
  19. #
  20. #    Components:
  21. #                Sample.p            June 1, 1989
  22. #                Sample.c            June 1, 1989
  23. #                SampleInit.c        June 2, 1992
  24. #                Sample.a            June 1, 1989
  25. #                Sample.inc1.a        June 1, 1989
  26. #                SampleMisc.a        June 1, 1989
  27. #                Sample.r            June 1, 1989
  28. #                Sample.h            June 1, 1989
  29. #                PSample.make        June 1, 1989
  30. #                CSample.make        June 1, 1989
  31. #                ASample.make        June 1, 1989
  32. #                CSample.π            June 2, 1992
  33. #                CSample.π.rsrc        June 2, 1992
  34. #
  35. #    Sample is an example application that demonstrates how to
  36. #    initialize the commonly used toolbox managers, operate 
  37. #    successfully under MultiFinder, handle desk accessories, 
  38. #    and create, grow, and zoom windows.
  39. #
  40. #    It does not by any means demonstrate all the techniques 
  41. #    you need for a large application. In particular, Sample 
  42. #    does not cover exception handling, multiple windows/documents, 
  43. #    sophisticated memory management, printing, or undo. All of 
  44. #    these are vital parts of a normal full-sized application.
  45. #
  46. #    This application is an example of the form of a Macintosh 
  47. #    application; it is NOT a template. It is NOT intended to be 
  48. #    used as a foundation for the next world-class, best-selling, 
  49. #    600K application. A stick figure drawing of the human body may 
  50. #    be a good example of the form for a painting, but that does not 
  51. #    mean it should be used as the basis for the next Mona Lisa.
  52. #
  53. #    We recommend that you review this program or TESample before 
  54. #    beginning a new application.
  55.  
  56. #    NOTE: The Asm has warnings turned off here.  This is because the
  57. #    Macro "Case#" builds a list of BEQ instructions that could be
  58. #    optimized into BEQ.S.  Everyone of these causes a warning
  59. #    message to appear while building this sample.  With warnings
  60. #    turned off, they don't appear.  Code generation is NOT effected.
  61.  
  62. # If ANY changes are made to the include file, you MUST perform
  63. # a full build of ALL source files.  The dependencies below will
  64. # cause all source file to be assembled if the ASample.inc1.a is updated.
  65.  
  66. AOptions        = -w
  67.  
  68. AObjs            = Sample.a.o ∂
  69.                     SampleMisc.a.o ∂
  70.                     "{Libraries}"Runtime.o ∂
  71.                     "{Libraries}"Interface.o
  72.  
  73. Sample.a.o        ƒƒ ASample.make Sample.inc1.a
  74.  
  75. SampleMisc.a.o    ƒƒ ASample.make Sample.inc1.a
  76.  
  77. ASample            ƒƒ {AObjs} ASample.make
  78.                     Link -o {Targ} {AObjs}
  79.                     SetFile {Targ} -t APPL -c 'MOOS' -a B
  80.  
  81. ASample            ƒƒ Sample.r Sample.h ASample.make
  82.                     Rez -rd -o {Targ} Sample.r -append
  83.